home *** CD-ROM | disk | FTP | other *** search
/ ASME's Mechanical Engine…ing Toolkit 1997 December / ASME's Mechanical Engineering Toolkit 1997 December.iso / c_lang / super_c.lzh / SPEED.C < prev    next >
Text File  |  1980-01-01  |  348b  |  18 lines

  1. /*                      Display Processor Speed
  2.  */
  3.  
  4. /*      main()
  5.  
  6.         Function: Display the speed of the current processor, as a
  7.         percentage of a standard IBM-PC.
  8.  
  9.         Algorithm: Just call calib and print out the result.
  10. */
  11.  
  12. main()
  13.  
  14. {
  15.         printf("This processor is %u%% of a standard IBM-PC.\n",calib());
  16. }
  17.  
  18.